package sisi.corporation;

import java.io.Serializable;
import javax.persistence.*;
import java.sql.Timestamp;


/**
 * Corporation.java - The persistent class for the <i>corporation database table</i>. 
 * @author Pedro Gonzalez pedro@sisisoftware.it
 * @author Claudio Pelosi claudio@sisisoftware.it
 * @author SISI Software S.n.c. - www.sisisoftware.it
 * @version 1.0, 03/10/2013
 * 
 */
@Entity
public class Corporation implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="CORPORATION_CORPID_GENERATOR", sequenceName="CORPORATIONSEQ", allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CORPORATION_CORPID_GENERATOR")
	private Integer corpid;

	private String address;

	private String city;

	private String contactname;

	private String contacttitle;

	private String corpname;

	private String country;

	private Boolean del;

	private Timestamp dtup;

	private String email;

	private String fax;

	private String gsm;

	private String phone;

	private String postalcode;

	private String region;

	/**
	 * Corporation.java - The persistent class for the <i>corporation database table</i>. 
	 * @author Pedro Gonzalez pedro@sisisoftware.it
	 * @author Claudio Pelosi claudio@sisisoftware.it
	 * @author SISI Software S.n.c. - www.sisisoftware.it
	 * @version 1.0, 03/10/2013
	 * 
	 */
	public Corporation() {
	}

	public Integer getCorpid() {
		return this.corpid;
	}

	public void setCorpid(Integer corpid) {
		this.corpid = corpid;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getContactname() {
		return this.contactname;
	}

	public void setContactname(String contactname) {
		this.contactname = contactname;
	}

	public String getContacttitle() {
		return this.contacttitle;
	}

	public void setContacttitle(String contacttitle) {
		this.contacttitle = contacttitle;
	}

	public String getCorpname() {
		return this.corpname;
	}

	public void setCorpname(String corpname) {
		this.corpname = corpname;
	}

	public String getCountry() {
		return this.country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public Boolean getDel() {
		return this.del;
	}

	public void setDel(Boolean del) {
		this.del = del;
	}

	public Timestamp getDtup() {
		return this.dtup;
	}

	public void setDtup(Timestamp dtup) {
		this.dtup = dtup;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getGsm() {
		return this.gsm;
	}

	public void setGsm(String gsm) {
		this.gsm = gsm;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPostalcode() {
		return this.postalcode;
	}

	public void setPostalcode(String postalcode) {
		this.postalcode = postalcode;
	}

	public String getRegion() {
		return this.region;
	}

	public void setRegion(String region) {
		this.region = region;
	}

}